package com.cxb.manager;

import com.cxb.utils.CommonUtils;

public class PowerOffState {

	public static boolean isPowerOffing = false;
	public static long power_off_time = 0;

	public static void setPowerOffing(boolean enable) {
		CommonUtils.setSystemProperties("sys.ami.poweroff", enable ? "1" : "0");
	}

	public static boolean isPowerOffing() {
		return "1".equals(CommonUtils.getSystemProperties("sys.ami.poweroff"));
	}
}
